
<!DOCTYPE html>

<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<?php
	require("../../DBops.php");
 
	session_start();
	$con = connect("localhost", "root", "", "lab");

	$result = query($con, "*", "weeklyreport", "ID", $_GET['id']);
	$r = mysql_fetch_array($result);
	while(true)
	{
		$row = $r;
		$r = mysql_fetch_array($result);
		
		if(!$r)
		{
			break;
		}
	}
	
  echo "<title>宽带组 : ".$row['name']." 会议纪要</title>

  <link href=\"../../css/bootstrapmin.css\" rel=\"stylesheet\" media=\"screen\">
  <link href=\"../../css/style.css\" rel=\"stylesheet\">
  <script type='text/javascript' src='../../js/header.js'></script>
	
</head>";
require("header.php");

?>
<!-- end of header -->
<div id= 'achievement'>
	
	<?php
	
	if(isset($_SESSION['user']))
	{
		echo "<div style='height:30px;background:#A4D3EE;'>
		      
              <p  style='margin-right:10px;float:right;'>登录为: <a href = \"../../infor.php?id=".$_SESSION['user']."\">".$_SESSION['user']."</a></font>&nbsp&nbsp
			  <a  onclick=\"if(confirm('确定要退出系统吗?')){parent.location.href ='../../logout.php'}\" href=\"javascript:void(0)\">退出</a></font></p></div>";
	$result1 = query($con, "*", "personalinfo", "ID", $_SESSION['user']);
	$row1 = mysql_fetch_array($result1);
	if($_GET['id']==$row1['projecteamID']){
		 echo"
		 <div id =\"infor\">
	<div align=\"right\"><font style=\"size:28px;color:#0000FF;\"><a href=\"update_con_report.php?id=".$_GET['id']."\" style=\"size:28px;color:blue;\">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;</font></div>";}
	
	}
	
	
	
    
    
 
echo"                    


<div class=\"wrapper group\" style=\"backgroud-color:#C1CDCD;\">

            
            <!-- ********** CONTENT ********** -->
                        
                    
<p class=\"sectionedit2\" id=\"年2月23日周报_张三\"><strong>&nbsp;&nbsp;".$row['datetime']." 会议纪要（".$row['name']."）</strong></p>


<p style=\"clear:left;\"><strong>&nbsp;&nbsp;
已完成工作：</strong>
</p>
<ol>
".nl2br($row['completed'])."
</ol>

<p style=\"clear:left;\"><strong>&nbsp;&nbsp;
未完成工作：</strong>
</p>
<ol>
".nl2br($row['uncompleted'])."
</li>
</ol>

<p style=\"clear:left;\"><strong>&nbsp;&nbsp;
工作计划：</strong>
</p>
<ol>
".nl2br($row['plan'])."
</ol>
<hr />

</div>

 <!-- /content -->

         

          
</div>
        
</body>"

?>

</html>